package com.foreverwin.mes.production.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 清洁主数据
 * </p>
 *
 * @author Max
 * @since 2020-02-11
 */
public class CleanData extends Model<CleanData> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
    /**
     * 站点
     */
   @TableField("SITE")
   private String site;
    /**
     * 工作中心
     */
   @TableField("WOKE_CENTER")
   private String wokeCenter;
    /**
     * 描述
     */
   @TableField("AREA_DESC")
   private String areaDesc;
    /**
     * 清洁名称
     */
   @TableField("ClEAN_NAME")
   private String cleanName;
    /**
     * 创建者
     */
   @TableField("CREATOR")
   private String creator;
    /**
     * 更新者
     */
   @TableField("UPDATER")
   private String updater;
    /**
     * 创建时间
     */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
    /**
     * 更新时间
     */
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getWokeCenter() {
      return wokeCenter;
   }

   public void setWokeCenter(String wokeCenter) {
      this.wokeCenter = wokeCenter;
   }

   public String getAreaDesc() {
      return areaDesc;
   }

   public void setAreaDesc(String areaDesc) {
      this.areaDesc = areaDesc;
   }

   public String getCleanName() {
      return cleanName;
   }

   public void setCleanName(String cleanName) {
      this.cleanName = cleanName;
   }

   public String getCreator() {
      return creator;
   }

   public void setCreator(String creator) {
      this.creator = creator;
   }

   public String getUpdater() {
      return updater;
   }

   public void setUpdater(String updater) {
      this.updater = updater;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String WOKE_CENTER = "WOKE_CENTER";

   public static final String AREA_DESC = "AREA_DESC";

   public static final String CLEAN_NAME = "ClEAN_NAME";

   public static final String CREATOR = "CREATOR";

   public static final String UPDATER = "UPDATER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "CleanData{" +
         "handle = " + handle +
         ", site = " + site +
         ", wokeCenter = " + wokeCenter +
         ", areaDesc = " + areaDesc +
         ", cleanName = " + cleanName +
         ", creator = " + creator +
         ", updater = " + updater +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}